//
//  LKDownLoadModel.m
//  zlsn
//
//  Created by wangzheng on 2018/4/4.
//  Copyright © 2018年 Luculent. All rights reserved.
//

#import "LKDownLoadModel.h"

@implementation LKDownLoadModel

- (void)closeOutputStream {
    
    if (!_outputStream) {
        return;
    }
    if (_outputStream.streamStatus > NSStreamStatusNotOpen && _outputStream.streamStatus < NSStreamStatusClosed) {
        [_outputStream close];
    }
    _outputStream = nil;
}

- (void)openOutputStream {
    
    if (!_outputStream) {
        return;
    }
    [_outputStream open];
}

@end
